package com.td.module.equipment.controller.admin.info.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;


@ApiModel("管理后台 - 仁科历史数据 Request VO")
@Data
@ToString(callSuper = true)
public class HistoryReqVO {

    @ApiModelProperty(value = "设备地址编号", example = "23975")
    @NotNull(message = "设备地址编号不能为空")
    private Integer deviceAddr;

    @ApiModelProperty(value = "节点编号（如果查询所有节点的数据，则nodeId填写-1）")
    @NotNull(message = "节点编号不能为空")
    private Integer nodeId;

    @ApiModelProperty(value = "开始时间(YYYY-MM-dd HH:mm:ss)")
    @NotNull(message = "开始时间不能为空")
    private String startTime;

    @ApiModelProperty(value = "结束时间(YYYY-MM-dd HH:mm:ss)")
    @NotNull(message = "结束时间不能为空")
    private String endTime;
}
